package routers

import (
	purchasemastertable "chinasoccer/apis/purchaseMasterTable"

	"github.com/gin-gonic/gin"
)

func PurchaseMasterRouter(r *gin.RouterGroup) {
	r.GET("/purchase_master", purchasemastertable.GetAllPurchaseMasterTable)
	r.POST("/purchase_master", purchasemastertable.AddPurchaseMasterTable)
	r.PUT("/purchase_master", purchasemastertable.UpdatePurchaseMasterTable)
	r.DELETE("/purchase_master/:id", purchasemastertable.DelPurchaseMasterTable)
}
